package com.seb.cc.gtou.utils;

import android.os.Bundle;
import com.google.android.maps.GeoPoint;

public class GeopointToBundle {
	private GeoPoint point;
	
	public  GeopointToBundle(GeoPoint geopoint){
		point = geopoint;

	}
	public Bundle transform(){
		Bundle bundleGeoPoint = new Bundle();				
		KeySet lat = KeySet.LATITUDE;
		KeySet lon = KeySet.LONGITUDE;
		bundleGeoPoint.putInt(lat.getLabel(),point.getLatitudeE6());
		bundleGeoPoint.putInt(lon.getLabel(),point.getLongitudeE6());
		return bundleGeoPoint;
	}
	
}
